-- GENERATED SPELL FOR [Wastewander Rogue] --


function spell0_5615(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(8721,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5615', 646, 1)
end

function Sorts_5615(pUnit, Event)
local choix_sorts_5615 = math.random(0, 0)
if choix_sorts_5615 == 0 then
pUnit:RegisterEvent('spell0_5615', 1, 1)
end
end

function mob5615_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5615', math.random(1500, 3000), 1)
end

function mob5615_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5615_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5615_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5615, 1, 'mob5615_Action')
RegisterUnitEvent(5615, 2, 'mob5615_Leave')
RegisterUnitEvent(5615, 3, 'mob5615_Kill')
RegisterUnitEvent(5615, 4, 'mob5615_Die')
